package com.syt.common.exception;

public class NotStockException extends RuntimeException{

    private Long skuId;

    public NotStockException(String msg) {
        super(msg + "号商品没有足够的库存了");
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }
}